﻿@model IEnumerable<OpenMms.Domain.Models.UserInforMations>

@{
    ViewData["Title"] = "Index";
    Layout = "~/Areas/User/Views/_UserLayout.cshtml";
}

<h2>Index</h2>

<p>
    <a asp-action="Create">Create New</a>
</p>
<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.ServiceCentreCode)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.RefereeCode)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.UserLevel)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.UserCode)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.UserPassWord)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.UserSecondPassWord)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.RegistionTime)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.UserName)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IdNumber)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Phone)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.SecurityQuestion)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.SecretAnswer)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BankName)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.BankCode)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.CardHolder)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IsCenterService)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.UserStatus)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.LevelName)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Area)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ContactCode)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Bonus)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.LeftCount)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.RightCount)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.LeftAchie)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.RightAchie)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.RefereeCount)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.VirtualMoney)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.RealMoney)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ActivationTime)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.RefereeId)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ContactId)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Investment)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.ManagerLevel)
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.ServiceCentreCode)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RefereeCode)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.UserLevel)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.UserCode)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.UserPassWord)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.UserSecondPassWord)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RegistionTime)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.UserName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IdNumber)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Phone)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.SecurityQuestion)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.SecretAnswer)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BankName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.BankCode)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.CardHolder)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IsCenterService)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.UserStatus)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.LevelName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Area)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ContactCode)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Bonus)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.LeftCount)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RightCount)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.LeftAchie)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RightAchie)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RefereeCount)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.VirtualMoney)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RealMoney)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ActivationTime)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RefereeId)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ContactId)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Investment)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ManagerLevel)
            </td>
            <td>
                <a asp-action="Edit" asp-route-id="@item.UserId">Edit</a> |
                <a asp-action="Details" asp-route-id="@item.UserId">Details</a> |
                <a asp-action="Delete" asp-route-id="@item.UserId">Delete</a>
            </td>
        </tr>
}
    </tbody>
</table>
